The Source Control Integration API > The source control integration API required functions > SCS_GetFolderListLength()

 

SCS_GetFolderListLength()

Description

Returns the number of items in the passed-in folder.

Arguments

connectionData, remotePath

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePath is the fully qualified path of the remote folder that the DLL checks for the number of items.

Returns

An integer indicating the number of items in the current folder. If the function returns < 0, Dreamweaver considers it an error and tries to retrieve the error message from the DLL, if supported.